import 'package:dio/dio.dart';

class Const {
  static BaseOptions get = BaseOptions(
    baseUrl: 'http://192.168.10.154:8081/hbjt-api',
    method: 'GET',
//      headers: {'header': 'sss'},
    connectTimeout: 5000,
    receiveTimeout: 3000,
    responseType: ResponseType.plain,
  );

  static BaseOptions post = BaseOptions(
    baseUrl: 'http://192.168.10.154:8081/hbjt-api',
    method: 'POST',
    connectTimeout: 5000,
    receiveTimeout: 3000,
    responseType: ResponseType.plain,
  );

//  String baseUrl = 'http://192.168.10.154:8081/hbjt-api';
  static var TITLES_UP = [
    '驾培机构总数',
    ' 教练员总数 ',
    ' 教练车总数 ',
    '新增学员人数',
    '本月新增学员',
    '本年新增学员'
  ];
  static String COMPANYS = 'companys';
  static String TEACHERS = 'teachers';
  static String CARS = 'cars';
  static String STUDENTS1 = 'student1';
  static String STUDENTS2 = 'student2';
  static String STUDENTS3 = 'student3';
  static String baseUrl = 'http://192.168.10.154:8081/hbjt-api';
}
